/**
 * @file HandleurITUrgence.h
 * @brief Handler d'IT des urgences.
 * @author ROSSIUS (email: armand.rossius@gmail.com)
 */

#include "error.h"
#include "clapet.h"
#include "messages.h"
#include "dates.h"
#include <stdlib.h>

void handlerITUrgence()
{
	MessageVW message;
	
	closeChain();
	
	getDate(&(message.date));
	message.msgText[0] = 'E';
	message.msgText[1] = 'R';
	message.msgText[2] = 'R';
	message.msgText[3] = '_';
	message.msgText[4] = 'B';
	message.msgText[5] = 'A';
	message.msgText[6] = 'U';
	message.param1 = 0;
	message.param2 = 0;
	message.param3 = 0;
	
	error(&message);
	
}
